*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: pink;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

ul{
    display: flex;
    /* background-color: purple; */
    list-style: none;
    transform-style: preserve-3d;
    width: 500px;
    height: 500px;
    /* animation: heihei 4s linear infinite; */
}

@keyframes heihei{
    100%{
        transform: rotateX(360deg);
    }
}

div{

    display: flex;
    /* background-color: purple; */
    list-style: none;
    transform-style: preserve-3d;
    width: 1000px;
    height: 1000px;
}

ul{
    width: 1000px;
    height: 1000px;
    background-size: 100%;
    position: relative;
    /* background: url('img/53069209d9cea116fe30af9af337bbaf.jpeg'); */
}

li{
    width: 100px;
    height: 100%;
    background: url('img/53069209d9cea116fe30af9af337bbaf.jpeg');
    background-size: cover;
    position: absolute;

}

li:first-child{
    transform: translateZ(300px);
}

li:nth-child(2){
    transform: rotateX(90deg) translateZ(300px);
}

li:nth-child(3){
    transform: rotateX(180deg) translateZ(300px);
}

li:nth-child(4){
    transform: rotateX(270deg) translateZ(300px);
}

.a li:first-child{
    background: url('img/53069209d9cea116fe30af9af337bbaf.jpeg');
}

.a li:nth-child(2){
    background: url('img/5ba8b4a9a34789690171b5b5b9b8e2c5.jpeg');
}

.a li:nth-child(3){
    background: url('img/9e5b7990caf455f66fde5fbde6c77a44.jpeg');
}

.a li:nth-child(4){
    background: url('img/c403d40ee39a5454f39ad0e757c2b743.jpeg');
}

/* ----------------------B------------------------- */
.b li:first-child{
    background: url('img/53069209d9cea116fe30af9af337bbaf.jpeg');
    background-position:-100px;
}

.b li:nth-child(2){
    background: url('img/5ba8b4a9a34789690171b5b5b9b8e2c5.jpeg');
}

.b li:nth-child(3){
    background: url('img/9e5b7990caf455f66fde5fbde6c77a44.jpeg');
}

.b li:nth-child(4){
    background: url('img/c403d40ee39a5454f39ad0e757c2b743.jpeg');
}

.c li:first-child{
    background: url('img/53069209d9cea116fe30af9af337bbaf.jpeg');
    background-position:-200px;
}

.d li:first-child{
    background: url('img/53069209d9cea116fe30af9af337bbaf.jpeg');
    background-position:-300px;
}

.e li:first-child{
    background: url('img/53069209d9cea116fe30af9af337bbaf.jpeg');
    background-position:-400px;
}

.f li:first-child{
    background: url('img/53069209d9cea116fe30af9af337bbaf.jpeg');
    background-position:-500px;
}





